import request from '@/utils/request'
import qs from "qs";
export const insertSysOps = (data: any) =>
    request({
        url: '/sys/sysops',
        method: 'post',
        data
    })

export const sysLoginLast = (data: any) =>
    request({
        url: '/sys/sys-login-last',
        method: 'post',
        data: qs.stringify(data)
    })

export const sysops = (params: any) =>
    request({
        url: '/sys/sysops-list',
        method: 'get',
        params
    })